package io.renren.modules.workflow.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * @Desc 流程定义部署domain
 * @Author landlord
 * @Date 2021/7/26 11:14
 */
public class ActBusModelDefinition  {
    /** 流程模板部署ID */
    private String abmdId;

    /** 流程名称 */
    private String abmdTitle;

    /** 流程描述 */
    private String abmdDescription;

    /** 流程业务类型 */
    private String abmdType;

    /** 流程表单ID */
    private String abmdFormId;

    /** 流程部署情况 no 未部署，yes 以部署 */
    private String abmdDeployStatus;

    /** 流程部署ID */
    private String abmdDeployId;

    /** 流程部署XML */
    private String abmdXml;

    /**
     * 流程表单名称
     */
    private String abfdTitle;

    /**
     * 部门ID
     */
    private Long deptId;

    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 角色ID
     */
    private Long roleId;
    /**
     * 角色ID
     */
    private Long checkRoleId;
    /**
     * 流程ID
     */
    private String wfId;
    /**
     * 流程IDS
     */
    private String[] wfIds;
    /**
     * 角色集合
     */
    private Long[] roleIds;
    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public void setAbmdId(String abmdId)
    {
        this.abmdId = abmdId;
    }

    public String getAbmdId()
    {
        return abmdId;
    }
    public void setAbmdTitle(String abmdTitle)
    {
        this.abmdTitle = abmdTitle;
    }

    public String getAbmdTitle()
    {
        return abmdTitle;
    }
    public void setAbmdDescription(String abmdDescription)
    {
        this.abmdDescription = abmdDescription;
    }

    public String getAbmdDescription()
    {
        return abmdDescription;
    }
    public void setAbmdType(String abmdType)
    {
        this.abmdType = abmdType;
    }

    public String getAbmdType()
    {
        return abmdType;
    }
    public void setAbmdFormId(String abmdFormId)
    {
        this.abmdFormId = abmdFormId;
    }

    public String getAbmdFormId()
    {
        return abmdFormId;
    }
    public void setAbmdDeployStatus(String abmdDeployStatus)
    {
        this.abmdDeployStatus = abmdDeployStatus;
    }

    public String getAbmdDeployStatus()
    {
        return abmdDeployStatus;
    }
    public void setAbmdDeployId(String abmdDeployId)
    {
        this.abmdDeployId = abmdDeployId;
    }

    public String getAbmdDeployId()
    {
        return abmdDeployId;
    }
    public void setAbmdXml(String abmdXml)
    {
        this.abmdXml = abmdXml;
    }

    public String getAbmdXml()
    {
        return abmdXml;
    }



    public String getAbfdTitle() {
        return abfdTitle;
    }

    public void setAbfdTitle(String abfdTitle) {
        this.abfdTitle = abfdTitle;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getWfId() {
        return wfId;
    }

    public void setWfId(String wfId) {
        this.wfId = wfId;
    }

    public String[] getWfIds() {
        return wfIds;
    }

    public void setWfIds(String[] wfIds) {
        this.wfIds = wfIds;
    }

    public Long getCheckRoleId() {
        return checkRoleId;
    }

    public void setCheckRoleId(Long checkRoleId) {
        this.checkRoleId = checkRoleId;
    }

    public Long[] getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(Long[] roleIds) {
        this.roleIds = roleIds;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("abmdId", getAbmdId())
                .append("abmdTitle", getAbmdTitle())
                .append("abmdDescription", getAbmdDescription())
                .append("abmdType", getAbmdType())
                .append("abmdFormId", getAbmdFormId())
                .append("abmdDeployStatus", getAbmdDeployStatus())
                .append("abmdDeployId", getAbmdDeployId())
                .append("abmdXml", getAbmdXml())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("abfdTitle", getAbfdTitle())
                .toString();
    }
}
